import request from '@/utils/request'

export function classifyList(params) {
    return request({
        url: '/aiChatLine/mini/question/queryQuestionCategoryListLimit',
        method: 'post',
        params: params
    })
}

export function hotList(params) {
    console.log(params)
    return request({
        url: '/aiChatLine/mini/question/queryHotQuestionListLimit',
        method: 'post',
        params: params
    })
}


export function classDetail(params) {
    return request({
        url: '/aiChatLine/mini/question/queryQuestionListByCategoryId',
        method: 'post',
        params: params
    })
}

export function sendQuestion(params) {
    return request({
        url: '/aiChatLine/mini/question/questionConsult',
        method: 'post',
        data: params
    })
}